[INFO] fetching crate perl-lsp-perltidy 0.16.0...
[INFO] fixing perl-lsp-perltidy-0.16.0 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] extracting crate perl-lsp-perltidy 0.16.0 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate perl-lsp-perltidy 0.16.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate perl-lsp-perltidy 0.16.0
[INFO] tweaked toml for crates.io crate perl-lsp-perltidy 0.16.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate perl-lsp-perltidy 0.16.0 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate perl-lsp-perltidy 0.16.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded perl-subprocess-runtime v0.16.0
[INFO] [stderr]   Downloaded perl-semantic-facts v0.16.0
[INFO] [stderr]   Downloaded perl-regex v0.16.0
[INFO] [stderr]   Downloaded perl-token v0.16.0
[INFO] [stderr]   Downloaded perl-ast v0.16.0
[INFO] [stderr]   Downloaded perl-ast-v2 v0.16.0
[INFO] [stderr]   Downloaded perl-position-tracking v0.16.0
[INFO] [stderr]   Downloaded perl-pragma v0.16.0
[INFO] [stderr]   Downloaded perl-parser-core v0.16.0
[INFO] [stderr]   Downloaded perl-lexer v0.16.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 6a1dcc42c23a620cb063fd06fbbe557f4604f07fdab1ef6ed9a4355ec96485f3
[INFO] running `Command { std: "docker" "start" "6a1dcc42c23a620cb063fd06fbbe557f4604f07fdab1ef6ed9a4355ec96485f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6a1dcc42c23a620cb063fd06fbbe557f4604f07fdab1ef6ed9a4355ec96485f3" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6a1dcc42c23a620cb063fd06fbbe557f4604f07fdab1ef6ed9a4355ec96485f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6a1dcc42c23a620cb063fd06fbbe557f4604f07fdab1ef6ed9a4355ec96485f3" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking str_indices v0.4.4
[INFO] [stderr]    Compiling siphasher v1.0.2
[INFO] [stderr]    Compiling fastrand v2.4.1
[INFO] [stderr]     Checking perl-token v0.16.0
[INFO] [stderr]     Checking perl-subprocess-runtime v0.16.0
[INFO] [stderr]     Checking serde_json v1.0.150
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling phf_shared v0.13.1
[INFO] [stderr]     Checking ropey v1.6.1
[INFO] [stderr]    Compiling phf_generator v0.13.1
[INFO] [stderr]    Compiling phf_macros v0.13.1
[INFO] [stderr]     Checking perl-semantic-facts v0.16.0
[INFO] [stderr]     Checking perl-position-tracking v0.16.0
[INFO] [stderr]     Checking thiserror v2.0.18
[INFO] [stderr]     Checking perl-regex v0.16.0
[INFO] [stderr]     Checking phf v0.13.1
[INFO] [stderr]     Checking perl-ast-v2 v0.16.0
[INFO] [stderr]     Checking perl-lexer v0.16.0
[INFO] [stderr]     Checking perl-ast v0.16.0
[INFO] [stderr]     Checking perl-pragma v0.16.0
[INFO] [stderr]     Checking perl-parser-core v0.16.0
[INFO] [stderr]     Checking perl-lsp-perltidy v0.16.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `perl_tdd_support`
[INFO] [stdout]  --> tests/formatting_tests.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use perl_tdd_support::must;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `perl_tdd_support`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `perl_tdd_support`, use `cargo add perl_tdd_support` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `perl_tdd_support`
[INFO] [stdout]  --> tests/config_tests.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use perl_tdd_support::must;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `perl_tdd_support`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `perl_tdd_support`, use `cargo add perl_tdd_support` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]    --> tests/native_ir_and_types_tests.rs:264:19
[INFO] [stdout]     |
[INFO] [stdout] 264 |     assert_eq!(v, serde_json::Value::String("external-legacy".to_string()));
[INFO] [stdout]     |                   ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]    --> tests/native_ir_and_types_tests.rs:266:19
[INFO] [stdout]     |
[INFO] [stdout] 266 |     assert_eq!(v, serde_json::Value::String("off".to_string()));
[INFO] [stdout]     |                   ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `perl_tdd_support` in this scope
[INFO] [stdout]   --> tests/formatting_tests.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         perl_tdd_support::must_some(invocations[0].args.iter().position(|arg| arg == "--"));
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `perl_tdd_support`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `perl_tdd_support`, use `cargo add perl_tdd_support` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `perl_tdd_support` in this scope
[INFO] [stdout]   --> tests/formatting_tests.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |         perl_tdd_support::must_some(invocations[0].args.iter().position(|arg| arg == "test.pl"));
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `perl_tdd_support`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `perl_tdd_support`, use `cargo add perl_tdd_support` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]    --> tests/config_tests.rs:156:16
[INFO] [stdout]     |
[INFO] [stdout] 156 |     let json = serde_json::to_string(&config)?;
[INFO] [stdout]     |                ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]    --> tests/config_tests.rs:157:36
[INFO] [stdout]     |
[INFO] [stdout] 157 |     let restored: PerlTidyConfig = serde_json::from_str(&json)?;
[INFO] [stdout]     |                                    ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `perl_tdd_support` in this scope
[INFO] [stdout]    --> tests/formatting_tests.rs:185:15
[INFO] [stdout]     |
[INFO] [stdout] 185 |     let err = perl_tdd_support::must_err(result);
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `perl_tdd_support`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `perl_tdd_support`, use `cargo add perl_tdd_support` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `perl_tdd_support` in this scope
[INFO] [stdout]    --> tests/formatting_tests.rs:231:16
[INFO] [stdout]     |
[INFO] [stdout] 231 |     assert_eq!(perl_tdd_support::must_some(lines.last().copied()), "line3");
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `perl_tdd_support`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `perl_tdd_support`, use `cargo add perl_tdd_support` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `perl_tdd_support` in this scope
[INFO] [stdout]    --> tests/formatting_tests.rs:259:15
[INFO] [stdout]     |
[INFO] [stdout] 259 |     let err = perl_tdd_support::must_err(result);
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `perl_tdd_support`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `perl_tdd_support`, use `cargo add perl_tdd_support` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `perl_tdd_support` in this scope
[INFO] [stdout]    --> tests/formatting_tests.rs:272:15
[INFO] [stdout]     |
[INFO] [stdout] 272 |     let err = perl_tdd_support::must_err(result);
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `perl_tdd_support`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `perl_tdd_support`, use `cargo add perl_tdd_support` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `perl_tdd_support` in this scope
[INFO] [stdout]    --> tests/formatting_tests.rs:285:15
[INFO] [stdout]     |
[INFO] [stdout] 285 |     let err = perl_tdd_support::must_err(result);
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `perl_tdd_support`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `perl_tdd_support`, use `cargo add perl_tdd_support` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `perl_tdd_support` in this scope
[INFO] [stdout]    --> tests/formatting_tests.rs:328:15
[INFO] [stdout]     |
[INFO] [stdout] 328 |     let err = perl_tdd_support::must_err(result);
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `perl_tdd_support`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `perl_tdd_support`, use `cargo add perl_tdd_support` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `perl-lsp-perltidy` (test "config_tests") due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `perl-lsp-perltidy` (test "formatting_tests") due to 9 previous errors
[INFO] [stdout] error[E0432]: unresolved import `perl_tdd_support`
[INFO] [stdout]   --> tests/coverage_gap_tests.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use perl_tdd_support::must;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `perl_tdd_support`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `perl_tdd_support`, use `cargo add perl_tdd_support` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]    --> tests/native_ir_and_types_tests.rs:245:16
[INFO] [stdout]     |
[INFO] [stdout] 245 |     let json = serde_json::to_string(&config)?;
[INFO] [stdout]     |                ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `perl-lsp-perltidy` (test "native_ir_and_types_tests") due to 16 previous errors
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]    --> tests/native_ir_and_types_tests.rs:246:34
[INFO] [stdout]     |
[INFO] [stdout] 246 |     let restored: FormatConfig = serde_json::from_str(&json)?;
[INFO] [stdout]     |                                  ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]    --> tests/native_ir_and_types_tests.rs:263:13
[INFO] [stdout]     |
[INFO] [stdout] 263 |     let v = serde_json::to_value(FormatterMode::ExternalLegacy)?;
[INFO] [stdout]     |             ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]    --> tests/native_ir_and_types_tests.rs:265:13
[INFO] [stdout]     |
[INFO] [stdout] 265 |     let v = serde_json::to_value(FormatterMode::Off)?;
[INFO] [stdout]     |             ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]    --> tests/native_ir_and_types_tests.rs:273:20
[INFO] [stdout]     |
[INFO] [stdout] 273 |         let json = serde_json::to_string(&variant)?;
[INFO] [stdout]     |                    ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]    --> tests/native_ir_and_types_tests.rs:274:38
[INFO] [stdout]     |
[INFO] [stdout] 274 |         let restored: FinalNewline = serde_json::from_str(&json)?;
[INFO] [stdout]     |                                      ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]    --> tests/native_ir_and_types_tests.rs:283:20
[INFO] [stdout]     |
[INFO] [stdout] 283 |         let json = serde_json::to_string(&variant)?;
[INFO] [stdout]     |                    ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]    --> tests/native_ir_and_types_tests.rs:284:39
[INFO] [stdout]     |
[INFO] [stdout] 284 |         let restored: TrailingComma = serde_json::from_str(&json)?;
[INFO] [stdout]     |                                       ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]    --> tests/native_ir_and_types_tests.rs:293:20
[INFO] [stdout]     |
[INFO] [stdout] 293 |         let json = serde_json::to_string(&variant)?;
[INFO] [stdout]     |                    ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]    --> tests/native_ir_and_types_tests.rs:294:40
[INFO] [stdout]     |
[INFO] [stdout] 294 |         let restored: BracePlacement = serde_json::from_str(&json)?;
[INFO] [stdout]     |                                        ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]    --> tests/native_ir_and_types_tests.rs:303:20
[INFO] [stdout]     |
[INFO] [stdout] 303 |         let json = serde_json::to_string(&variant)?;
[INFO] [stdout]     |                    ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]    --> tests/native_ir_and_types_tests.rs:304:39
[INFO] [stdout]     |
[INFO] [stdout] 304 |         let restored: ElsePlacement = serde_json::from_str(&json)?;
[INFO] [stdout]     |                                       ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]    --> tests/native_ir_and_types_tests.rs:313:20
[INFO] [stdout]     |
[INFO] [stdout] 313 |         let json = serde_json::to_string(&variant)?;
[INFO] [stdout]     |                    ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]    --> tests/native_ir_and_types_tests.rs:314:40
[INFO] [stdout]     |
[INFO] [stdout] 314 |         let restored: KeywordSpacing = serde_json::from_str(&json)?;
[INFO] [stdout]     |                                        ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `perl_tdd_support` in this scope
[INFO] [stdout]   --> tests/subprocess_tests.rs:31:15
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let err = perl_tdd_support::must_err(result);
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `perl_tdd_support`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `perl_tdd_support`, use `cargo add perl_tdd_support` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `perl_tdd_support` in this scope
[INFO] [stdout]   --> tests/subprocess_tests.rs:43:15
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let err = perl_tdd_support::must_err(result);
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `perl_tdd_support`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `perl_tdd_support`, use `cargo add perl_tdd_support` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `perl_tdd_support` in this scope
[INFO] [stdout]   --> tests/subprocess_tests.rs:56:15
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let err = perl_tdd_support::must_err(result);
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `perl_tdd_support`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `perl_tdd_support`, use `cargo add perl_tdd_support` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `perl_tdd_support` in this scope
[INFO] [stdout]   --> tests/subprocess_tests.rs:68:15
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let err = perl_tdd_support::must_err(result);
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `perl_tdd_support`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `perl_tdd_support`, use `cargo add perl_tdd_support` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tempfile` in this scope
[INFO] [stdout]    --> tests/subprocess_tests.rs:155:16
[INFO] [stdout]     |
[INFO] [stdout] 155 |     let temp = tempfile::tempdir()?;
[INFO] [stdout]     |                ^^^^^^^^ use of unresolved module or unlinked crate `tempfile`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tempfile`, use `cargo add tempfile` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `perl-lsp-perltidy` (test "subprocess_tests") due to 5 previous errors
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]   --> tests/native_contract_tests.rs:82:16
[INFO] [stdout]    |
[INFO] [stdout] 82 |     assert_eq!(serde_json::to_string(&FormatDiagnosticSeverity::Info)?, "\"info\"");
[INFO] [stdout]    |                ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]   --> tests/native_contract_tests.rs:83:16
[INFO] [stdout]    |
[INFO] [stdout] 83 |     assert_eq!(serde_json::to_string(&FormatDiagnosticSeverity::Warning)?, "\"warning\"");
[INFO] [stdout]    |                ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]   --> tests/native_contract_tests.rs:84:16
[INFO] [stdout]    |
[INFO] [stdout] 84 |     assert_eq!(serde_json::to_string(&FormatDiagnosticSeverity::Error)?, "\"error\"");
[INFO] [stdout]    |                ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]    --> tests/native_contract_tests.rs:121:17
[INFO] [stdout]     |
[INFO] [stdout] 121 |     let value = serde_json::to_value(result)?;
[INFO] [stdout]     |                 ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `perl-lsp-perltidy` (test "native_contract_tests") due to 4 previous errors
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]    --> tests/coverage_gap_tests.rs:223:26
[INFO] [stdout]     |
[INFO] [stdout] 223 |         let serialized = serde_json::to_string(&mode)?;
[INFO] [stdout]     |                          ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]    --> tests/coverage_gap_tests.rs:225:43
[INFO] [stdout]     |
[INFO] [stdout] 225 |         let deserialized: FormatterMode = serde_json::from_str(&serialized)?;
[INFO] [stdout]     |                                           ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]    --> tests/coverage_gap_tests.rs:238:26
[INFO] [stdout]     |
[INFO] [stdout] 238 |         let serialized = serde_json::to_string(&variant)?;
[INFO] [stdout]     |                          ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]    --> tests/coverage_gap_tests.rs:240:42
[INFO] [stdout]     |
[INFO] [stdout] 240 |         let deserialized: FinalNewline = serde_json::from_str(&serialized)?;
[INFO] [stdout]     |                                          ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]    --> tests/coverage_gap_tests.rs:252:26
[INFO] [stdout]     |
[INFO] [stdout] 252 |         let serialized = serde_json::to_string(&variant)?;
[INFO] [stdout]     |                          ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]    --> tests/coverage_gap_tests.rs:254:43
[INFO] [stdout]     |
[INFO] [stdout] 254 |         let deserialized: TrailingComma = serde_json::from_str(&serialized)?;
[INFO] [stdout]     |                                           ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]    --> tests/coverage_gap_tests.rs:265:26
[INFO] [stdout]     |
[INFO] [stdout] 265 |         let serialized = serde_json::to_string(&variant)?;
[INFO] [stdout]     |                          ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]    --> tests/coverage_gap_tests.rs:267:44
[INFO] [stdout]     |
[INFO] [stdout] 267 |         let deserialized: BracePlacement = serde_json::from_str(&serialized)?;
[INFO] [stdout]     |                                            ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]    --> tests/coverage_gap_tests.rs:279:26
[INFO] [stdout]     |
[INFO] [stdout] 279 |         let serialized = serde_json::to_string(&variant)?;
[INFO] [stdout]     |                          ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]    --> tests/coverage_gap_tests.rs:281:43
[INFO] [stdout]     |
[INFO] [stdout] 281 |         let deserialized: ElsePlacement = serde_json::from_str(&serialized)?;
[INFO] [stdout]     |                                           ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]    --> tests/coverage_gap_tests.rs:292:26
[INFO] [stdout]     |
[INFO] [stdout] 292 |         let serialized = serde_json::to_string(&variant)?;
[INFO] [stdout]     |                          ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]    --> tests/coverage_gap_tests.rs:294:44
[INFO] [stdout]     |
[INFO] [stdout] 294 |         let deserialized: KeywordSpacing = serde_json::from_str(&serialized)?;
[INFO] [stdout]     |                                            ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]    --> tests/coverage_gap_tests.rs:520:16
[INFO] [stdout]     |
[INFO] [stdout] 520 |     let json = serde_json::to_string(&original)?;
[INFO] [stdout]     |                ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope
[INFO] [stdout]    --> tests/coverage_gap_tests.rs:521:36
[INFO] [stdout]     |
[INFO] [stdout] 521 |     let restored: PerlTidyConfig = serde_json::from_str(&json)?;
[INFO] [stdout]     |                                    ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `perl-lsp-perltidy` (test "coverage_gap_tests") due to 15 previous errors
[INFO] running `Command { std: "docker" "inspect" "6a1dcc42c23a620cb063fd06fbbe557f4604f07fdab1ef6ed9a4355ec96485f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a1dcc42c23a620cb063fd06fbbe557f4604f07fdab1ef6ed9a4355ec96485f3", kill_on_drop: false }`
[INFO] [stdout] 6a1dcc42c23a620cb063fd06fbbe557f4604f07fdab1ef6ed9a4355ec96485f3
